package com.yunche.iov.mapper;

import com.yunche.iov.entity.DeviceAttention;
import com.yunche.iov.entity.DeviceAttentionExample;
import com.yunche.iov.entity.DeviceAttentionKey;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DeviceAttentionMapper {
    int countByExample(DeviceAttentionExample example);

    int deleteByExample(DeviceAttentionExample example);

    int deleteByPrimaryKey(DeviceAttentionKey key);

    int insert(DeviceAttention record);

    int insertSelective(DeviceAttention record);

    List<DeviceAttention> selectByExample(DeviceAttentionExample example);

    DeviceAttention selectByPrimaryKey(DeviceAttentionKey key);

    int updateByExampleSelective(@Param("record") DeviceAttention record, @Param("example") DeviceAttentionExample example);

    int updateByExample(@Param("record") DeviceAttention record, @Param("example") DeviceAttentionExample example);

    int updateByPrimaryKeySelective(DeviceAttention record);

    int updateByPrimaryKey(DeviceAttention record);
}